<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

use think\facade\Route;

Route::get('user/checkuserlogininfo', 'index/user/checkUserLoginInfo');
Route::get('user/getdepartment', 'index/user/getDepartment');
Route::get('user/getuserinfo', 'index/user/getUserInfo');
Route::post('user/userlogout', 'index/user/userLogout');
Route::post('user/userlogin', 'index/user/userLogin');
Route::post('user/adduser', 'index/user/addUser');

Route::get('file/getfilelist', 'index/file/getFileList');
Route::get('file/selectfilebyfiletype', 'index/file/selectFileByFileType');
Route::get('filetransfer/getstorage', 'index/file/getStorage');
Route::post('filetransfer/uploadfile/', 'index/file/uploadFile');
Route::post('file/createfile', 'index/file/createFile');
Route::get('file/getfiletree', 'index/file/getFileTree');

Route::post('file/movefile', 'index/file/moveFile');
Route::post('file/batchmovefile', 'index/file/batchMoveFile');
Route::post('file/deletefile', 'index/file/deleteFile');
Route::post('file/batchdeletefile', 'index/file/batchDeleteFile');

Route::post('file/unzipfile', 'index/file/unzipFile');